<?php
/**
 * Controlador
 * @author Mauro Gadaleta
 * @package controlador->aplicación web
 */
class baseController extends webApplication {

    /**
     * @var array
     */
	protected $param = array();

    /**
     * @var array
     */
  	protected $externalParam = array();

	/**
     * Constructor sets up
     */
	function __construct() {
	}

    /**
     * @param  $variableName
     * @param  $value
     * @return void
     */
    protected function assign($variableName, $value) {
        $this->param[$variableName] = $value;
    }

    /**
     * @param  $name
     * @param  $value
     * @return void
     */
	protected function setExternalParam($name,$value) {
		$this->externalParam[$name] = $value;
	}

	/**
     * shows the parameters that have been inserted
     * @return array
     */
	public function getParams() { return $this->param; }

    /**
     * @return array
     */
  	public function getExternalParam() { return $this->externalParam; }
}
?>